//
//  GeneralTool.h
//  jingjing2.0
//
//  Created by apple on 16/4/27.
//  Copyright © 2016年 apple. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface GeneralTool : NSObject
//给手机号中间字段替换
+(NSString *)secureThePhoneNum:(NSString *)phoneNum;
//获得时间戳
+(NSString*)gettimestamp;
//获得加密标志
+(NSString*)GetSin:(NSDictionary*)dict;
//验证邮箱
+ (BOOL) validateEmail:(NSString *)email;
//检验手机号格式
+ (NSString *)valiMobile:(NSString *)mobile;
//检验网络状态
+(NSString *)isConnectNet;
+ (BOOL)isPureNumandCharacters:(NSString *)string;
//加密
+(NSString *)md5UpStr: (NSString *) inPutText;

//获取ip地址
+(NSString *)getIPAddress;
+(void)requestTrackWithAppkey:(NSString *)appkey;
@end
